import { httpDelete, httpGet, httpPost, httpPut } from "@/utils/http"

// 获取机构数据
export const findOrganizationsApi = (data) => {
    return httpPost('/organizations/search', data)
}
// 添加机构数据
export const addOrganizationsApi = (data) => {
    return httpPost('/organizations/add', data)
}
// 删除机构数据
export const deleteOrganizationsApi = (data) => {
    return httpDelete('/organizations/remove', data)
}
// 修改机构数据
export const updateOrganizationsApi = (data) => {
    return httpPut('/organizations/update', data)
}